package com.example.IODemo.IOBasic.NettyHello.day01;

import java.io.Serializable;

/** 
* @author 作者 zhujf: 
* @version 创建时间：2017年9月20日 下午5:37:49 
* 
*/
public class User implements Serializable {  
	  
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Long id;  
    private String username;  
  
    public Long getId() {  
        return id;  
    }  
  
    public void setId(Long id) {  
        this.id = id;  
    }  
  
    public String getUsername() {  
        return username;  
    }  
  
    public void setUsername(String username) {  
        this.username = username;  
    }  
  
    @Override  
    public String toString() {  
        return "User{" +  
                "id=" + id +  
                ", username='" + username + '\'' +  
                '}';  
    }  
}  
